﻿using Common;

namespace CSC440TeamOne.Admin.Views
{
    /// <summary>
    /// Name - IUserManualView.cs
    /// Description -
    /// Programmer - CSC440 Team One
    /// Date coded - 11/27/2011
    /// Arguments - IBusinessService
    /// Variables - None
    /// Files accessed by this code artifact - None
    /// Files changed by this code artifact - None
    /// I/O - None
    /// Error Handling - None
    /// Modifications -
    ///     1.0 - Initial coding
    /// Known Faults -
    ///     1.0 - None known
    /// </summary>
    public interface IUserManualView
    {
        /// <summary>
        /// Gets or sets the index of the current.
        /// </summary>
        /// <value>
        /// The index of the current.
        /// </value>
        int CurrentSectionId { get; set; }

        /// <summary>
        /// Shows the specified model.
        /// </summary>
        /// <param name="model">The model.</param>
        void Show(UserManualModel model);

        /// <summary>
        /// Updates the specified model.
        /// </summary>
        /// <param name="model">The model.</param>
        void Update(UserManualModel model);

        /// <summary>
        /// Called when [save completed].
        /// </summary>
        /// <param name="model">The model.</param>
        void OnSaveCompleted(UserManualModel model);

        /// <summary>
        /// Called when [add content completed].
        /// </summary>
        /// <param name="model">The model.</param>
        void OnAddContentCompleted(UserManualModel model);

        /// <summary>
        /// Called when [add section completed].
        /// </summary>
        /// <param name="model">The model.</param>
        void OnAddSectionCompleted(UserManualModel model);

        /// <summary>
        /// Called when [preview completed].
        /// </summary>
        /// <param name="model">The model.</param>
        void OnPreviewCompleted(UserManualModel model);
    }
}




